<template>
  <div class="child">
    <h3>孙子组件</h3>
    <h4>a:{{a}}</h4>
    <h4>b:{{b}}</h4>
    <h4>c:{{c}}</h4>
    <h4>d:{{d}}</h4>
    <h4>x:{{x}}</h4>
    <h4>y:{{y}}</h4>
    <button @click="updateA(100)">修改A</button>
  </div>
</template>

<script setup lang="ts" name="Child">
import { defineProps } from "vue";
  defineProps(['a','b','c','d','x','y','updateA'])
	
</script>